<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"
	import="java.util.*,cn.edu.pku.model.Salarystandard"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
<%
List<Salarystandard> ssList = (List)request.getAttribute("ssDeleted");
int len = ssList.size();
 %>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="../../css/theme0.css" rel="stylesheet" type="text/css" />
<title>模板</title>
<script type="text/javascript">
function ssUndo(ssMgtId) {
	window.location.href="salarystandardLogicalDeleteAction.action?action=undo&ssMgtId="+ssMgtId;
}

function ssDelete(ssMgtId) {
	window.location.href="salarystandardLogicalDeleteAction.action?action=delete&ssMgtId="+ssMgtId;
}
</script>
</head>
<body>
<div id="main"><%@ include file="../Header.jsp"%>
<div id="middle"><c:import url="../Navigation.jsp"></c:import>
<div id="center-column">
<div class="top-bar"><a
	href="../SystemManagement/logoutAction.action" class="button">退出</a>
<h1>彻底删除薪酬标准</h1>
<div class="breadcrumbs"><a href="Home.jsp">首页</a>&nbsp;/&nbsp;彻底删除薪酬标准</div>
</div>
<br />
<div class="select-bar"><label><input type="text"
	name="textfield" /></label> <label><input type="submit" name="Submit"
	value="Search" /></label></div>

<!-- 这里写页面内容 -->
<p align="center">共找到<%=len %>条记录</p>

<table width="602" border="1" align="center">
	<tr>
		<td width="30%" height="20" align="left">薪酬标准名称</td>
		<td width="20%" height="20" align="left">薪酬量</td>
		<td width="20%" height="20" align="left">恢复</td>
		<td width="20%" height="20" align="left">删除</td>
	</tr>
	<%
		for(int i=0;i<len;i++) {
			Salarystandard ssTemp = ssList.get(i); 
	 %>
	<tr>
		<td><%=ssTemp.getSalarystandardName() %></td>
		<td><%=ssTemp.getSalary() %></td>
		<td><input type="button" value="恢复"
			onclick="ssUndo(<%=ssTemp.getSalarystandardId() %>)" /></td>
		<td><input type="button" value="删除"
			onclick="ssDelete(<%=ssTemp.getSalarystandardId() %>)" /></td>
	</tr>
	<%
		}
	 %>
</table>

</div>
<%@ include file="../Toolkit.jsp"%></div>
<%@ include file="../Footer.jsp"%></div>
</body>
</html>